//Nathan Popham
//4003-573-01: Procedural Shading
//Lab 3
//

uniform sampler2D myTexture;
uniform int channel;

void main()
{
    vec3 color = vec3(texture2D(myTexture, gl_TexCoord[0].st));

	gl_FragColor = vec4(color, color[channel]);
} 
